package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysDormitory;

import java.util.Map;

public interface SysDormitoryService {
    public ResultMsg getSysDormitoryList();
    public ResultMsg addDormitory(SysDormitory sysDormitory);
    public ResultMsg getSysDormitory(Map<String,Object> map);
    public ResultMsg getSysDormitoryCount(Map<String,Object> map);
    public ResultMsg updDormitoryById(SysDormitory sysDormitory);
    public ResultMsg getSysDorByLocationName(String locationName);
    public ResultMsg delSysDormitoryById(int id);
}
